<div class="wrapper-xs" ng-init="vm.init()">
    <div class="panel panel-default">
        <div class="panel-heading font-bold">用户列表</div>
        <div class="panel-body">
            <a ng-click="vm.add()" class="btn btn-info btn-sm m-l-sm">新增</a>
            <a ng-click="vm.update()" ng-disabled="!vm.row.checked" class="btn btn-success btn-sm m-l-sm">更新</a>
        </div>
        <div class="table-responsive">
            <table ng-table="vm.tableParam" class="table table-condensed table-bordered table-hover table table-striped table-bordered">
                <tbody>
                <tr ng-repeat="row in $data track by $index">
                    <td title="'ID'" sortable="'id'" align="center" width="10px">{{row.id}}</td>
                    <td title="'用户名'" sortable="'username'">{{row.username}}</td>
                    <td title="'更新时间'" sortable="'updateTime'">{{row.updateTime|date:'yyyy-MM-dd hh:ss:mm'}}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>